//package com.geely.pma.climate.api
package com.wanghaibo.vgashow.api;

import com.ecarx.xui.adaptapi.car.base.ICarFunction

/**
 * Name: CarFunctionOperation
 *
 * Created by Wuhao on 2020/6/2
 *
 * Version: 0.0.1
 */
interface ICarFunctionOperation {
    /**
     * do some operations when CarFunction initialized
     * @param carFunction the initialized ICarFunction
     */
    fun onInitialized(carFunction: ICarFunction)

    /**
     * Do something if CarFunction init failed
     * @param throwable the throwable caught
     */
    fun onInitFailed(throwable: Throwable)
}